package com.guigu.pd.serviceapi.basefeign;

import com.guigu.pd.serviceapi.pojo.TruckLicenseEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "pd-base",path = "/base/trucklicense")
public interface TruckLicenseFeign {

    @GetMapping("/getbyruckid/{id}")
    public TruckLicenseEntity getbytruckId(@PathVariable("id") String id);
}